package com.ruoyi.project.xcx.util;

import com.ruoyi.project.xcx.user.domain.XcxUser;

public class TokenUserUtil {
    private static ThreadLocal<XcxUser> localUser = new ThreadLocal<XcxUser>();
    public static void putUser(XcxUser user){
        localUser.set(user);
    }
    public static XcxUser getUser(){
        return localUser.get();
    }
}
